package jdbc419.controller;


import jdbc419.service.deptService;

import java.util.Scanner;

/**
 * @Author:SA
 * @DATA:DATA
 * 用于接受接受前台传递的参数
 */


public class deptController {

    private deptService deptservice = new deptService();

    public boolean login(String dept_name,String address) {


        //调用业务层判定用户是否登录成功
        boolean login = deptservice.login(dept_name,address);

        return  login;
    }


}
